import request from '@/utils/request'

// 查询贴吧管理列表
export function listTiebaForums(query) {
  return request({
    url: '/system/TiebaForums/list',
    method: 'get',
    params: query
  })
}

// 查询贴吧管理详细
export function getTiebaForums(id) {
  return request({
    url: '/system/TiebaForums/' + id,
    method: 'get'
  })
}

// 新增贴吧管理
export function addTiebaForums(data) {
  return request({
    url: '/system/TiebaForums',
    method: 'post',
    data: data
  })
}

// 修改贴吧管理
export function updateTiebaForums(data) {
  return request({
    url: '/system/TiebaForums',
    method: 'put',
    data: data
  })
}

// 删除贴吧管理
export function delTiebaForums(id) {
  return request({
    url: '/system/TiebaForums/' + id,
    method: 'delete'
  })
}
